package com.sita.tingterest.activity;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

import com.sita.bike.R;

/**
 * Created by zhangdepeng on 2016/1/20.
 */
public class VideoAdapter extends BaseAdapter {
    public Context context;

    public VideoAdapter(Context context) {
        this.context = context;
    }


    @Override
    public int getCount() {
        return 1;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {

        convertView = LayoutInflater.from(context).inflate(R.layout.video_item, null);


        return convertView;
    }

    class ViewHolder {
        ImageView imageView;
        TextView textView;
    }

}
